FROM zsyh/uwsgi-flask:python2.7

COPY ./app/requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY ./app/* /app/
RUN mkdir -p /home/data/reform && \
chown -R 1000:1000 /home/data/reform
